<?php
    $this->menu = array(
        array('label'=>'Back', 'url'=>array($this->backurl),
            'linkOptions'=> array('class' => 'icon icon-arrow-left6 tb-gray'),
        ),
    );
?>

<h2 class="form-header">
    <?php
    echo CHtml::encode($this->pageTitle);
    ?>
</h2>


<div class="form update-draw-form">

    <?php
        if($model->type=="diag-half")
            $full = 0;
        else
            $full = 1;

        CDrawer::Show($model->metadata,$full);
    ?>
</div>